<template>
  <div class="monitor">
    <el-row :gutter="10">
      <el-col :xs="24" :sm="12">
        <el-card>
          <template #header>
            <div>
              <span>线上热门搜索</span>
            </div>
          </template>

          <PieChart />
        </el-card>
      </el-col>

      <el-col :xs="24" :sm="12">
        <el-card>
          <template #header>
            <div>
              <span>线上热门搜索</span>
            </div>
          </template>

          <PieChart />
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import PieChart from './PieChart.vue'

export default {
  name: 'Monitor',
  components: {
    PieChart
  }
}
</script>

<style>
.monitor {
  margin: 10px 0;
}
</style>
